package com.catersystem.zmy.catersystem.finals;

import com.catersystem.zmy.catersystem.utils.SPUtils;

/**
 * Created by Administrator on 2017/5/24.
 */

public class FinalUrl {

    /**
     * 获取按菜分类的菜品数据
     **/
    public static String getDishData() {
        return SPUtils.getInstance().getString("service_address") + "/cloud/model/postdata.html";
    }

    /**
     * 更新菜品烹饪明细
     **/
    public static String refreshCookingStatus() {
        return SPUtils.getInstance().getString("service_address2") +
                "/?m=bill&act=updatetabledetailstatus";
    }

    /**
     * 获取按单分类的菜品信息
     **/
    public static String getAllDishesData() {
        return SPUtils.getInstance().getString("service_address2") +
                "/?m=bill&act=gettablelist";
    }

    /**
     * 更新按单分类的菜品信息
     **/
    public static String refreshAllDishesData() {
        return SPUtils.getInstance().getString("service_address2") +
                "/?m=bill&act=updatetablelistcompleted";
    }

    /**
     * 获取当天所有菜品的状态
     **/
    public static String getDishesStatus() {
        return SPUtils.getInstance().getString("service_address2") +
                "/?m=bill&act=getalltabledetailuncompleted";
    }

    public static String getOrgCode() {
        return SPUtils.getInstance().getString("orgcode");
    }

    public static String getAppguid() {
        return SPUtils.getInstance().getString("appguid");
    }

}
